<?php 
 
namespace app\common\model;

use app\common\model\BaseModel;
use app\common\traits\ModelTrait;
use app\common\utils\JsonService;
/**
* This is the model class for table "{ptf_base_goods}".
*
* @property int $id  
* @property string $product_name 产品名称
* @property int $cat_id 分类id 
* @property string $figure_nu 产品图号
* @property string $resolve 产品分解图
* @property int $create_time 创建时间 
* @property int $update_time 修改时间 
*/
class BaseGoods extends BaseModel{

    protected $pk = 'id';
    protected $name = 'base_goods';

    use ModelTrait;
    protected $autoWriteTimestamp = true;
    protected $dateFormat = 'Y-m-d';
    //protected $createTime = 'create_time';
    //protected $updateTime = 'update_time';

    /**
    * {@inheritdoc}
    */
    public function attributeLabels()
    {
        return [
            'id' => '',
            'product_name' => '产品名称',
            'cat_id' => '分类id',
            'figure_nu' => '产品图号',
            'resolve' => '产品分解图',
            'create_time' => '创建时间',
            'update_time' => '修改时间',
        ];
    }

}


?>